package com.easylinkin.linkappapi.inspection.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.inspection.dto.ElectricCheckDTO;
import com.easylinkin.linkappapi.inspection.dto.ElectricCheckPhotoAlbumDTO;
import com.easylinkin.linkappapi.inspection.dto.ElectricCheckPhotoAlbumQueryDTO;
import com.easylinkin.linkappapi.inspection.entity.ElectricCheck;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 配电箱巡检表 Mapper 接口
 * </p>
 *
 * @author kanyuanfeng
 * @since 2022-06-16
 */
public interface ElectricCheckMapper extends BaseMapper<ElectricCheck> {

  IPage<ElectricCheckDTO> queryListByPage(Page page, @Param("electricCheck") ElectricCheck electricCheck);

  IPage<ElectricCheckPhotoAlbumDTO> selectPhotoAlbumByPage(Page page, @Param("electricCheck") ElectricCheckPhotoAlbumQueryDTO electricCheck);

  List<ElectricCheckPhotoAlbumDTO> selectPhotoAlbumByPage(@Param("electricCheck") ElectricCheckPhotoAlbumQueryDTO electricCheck);

  List<ElectricCheckDTO> monthList(ElectricCheckDTO electricCheckDTO);
}
